<?php
    $item = $this->rowcusomer;
?>

<div class="blockcms">
    <div class="blocktitle">
        <h3 class="pink">
            StoreCredit history of  &raquo; <?=$this->username?>
        </h3>
    </div>    
    <div style="padding:10px">
        <table style=" border: 1px solid gray;">
            <tbody>
                <tr align="center" style="text-align: center; border: 1px solid gray;">
                    <td width="200px" style=" border: 1px solid gray;">
                        Store credit
                    </td>
                </tr>
                <?php
                if(count($item) > 0)
                {
                        foreach($item as $customer):
                    ?>
                <tr style=" border: 1px solid gray;">
                    
                    <td style=" border: 1px solid gray;">
                        <?=$customer['StoreCredit'] ?>
                    </td>
                </tr>
                <?php
                endforeach;
                }
                ?>
            </tbody>
        </table>
    </div>
</div>